package com.ease.access.systemmonitor.service.impl;

import java.util.List;

import com.ease.access.systemmonitor.service.AlarmConfAccessService;
import com.ease.common.vo.MapParameter;
import com.ease.model.systemmonitor.AlarmConf;
import com.ease.platform.access.service.impl.AbstractParameterizedBeanIbatisAccessServiceImpl;

public class AlarmConfAccessServiceImpl extends AbstractParameterizedBeanIbatisAccessServiceImpl<AlarmConf> implements AlarmConfAccessService {

	private static class Statement {
		static String findAlarmConfByPcId = "findAlarmConfByPcId";
	}

	public List<AlarmConf> findAlarmConfByPcId(long pcId) {
		// TODO Auto-generated method stub
		MapParameter parameter = new MapParameter();
		parameter.put("pcId", pcId);
		List<AlarmConf> list = this.getIbatisDataAccessObject().find(this.getNamespace(), Statement.findAlarmConfByPcId, parameter);
		return list;
	}

}
